home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
The Director Toolkit v1.0.adf
/
CLI_Commands
/
docs
< prev
next >
Wrap
Text File
|
1987-02-25
|
5KB
|
151 lines
|f2|c7|t1CLI Commands|f1|c3|t0
The programs in this drawer are all new |c7CLI|c3 commands:|r1
|c7|+8MakeANIM|+5- ANIM compressor|r1
|+8MakePal|+6- Palette optimizer|r1
|+8View|+9- IFF file viewer|r1
|+8DFilter|+6- Compatibility filter|c3|r1
Instructions on each individual command is found in the |c7README|c3 files
in their respective drawers.|r1
|e
In order to run a |c7CLI|c3 command, when you type the command
|c7AmigaDOS|c3 must be able to find the command. |c7AmigaDOS|c3 will
look for the command like this:|r1
|+41. first look in the current directory.|r1
|+42. look in any other directories specified in the |c7PATH|c3|-.|r1
|+43. look in the |c7C:|c3 directory.|r1
So, you must meet one of these conditions in order to run the commands.
You can accomplish this in several ways.
|e
|c71. Current Directory|c3|r1
The commands are supplied on the |c7ToolKit|c3 disk in the commands
directory.
You can change to this directory with the |c7CD|c3 command:|r1
|c7|+81> cd toolkit:commands|c3|r1
And then run any of the commands. However, due to the fact that several
of the commands use files that you create as parameters, you may find it
inconvenient to utilize them in this manner.
|e
|c72. The PATH|c3|r1
|c7AmigaDOS|c3 provides a |c7PATH|c3 command that is used to specify
locations to search for commands, besides the current directory and
the |c7C:|c3 directory. You can find out your current |c7PATH|c3 settings
simply by typing "path" at the |c7CLI|c3 prompt:|r1
|+8|c71> path|r1
|+8Current directory|r1
|+8C:|c3|r1
|e
You can add the |c7ToolKit|c3 commands directory to your current path by
typing:|r1
|+8|c71> path toolkit:commands add|c3|r1
The toolkit disk MUST be in a disk drive at the time or you'll get an
"Unable to find" error.|r1
You may find this method inconvenient as well, as you will have to have
the |c7ToolKit|c3 disk inserted in a drive at any time you may want to use
the new commands.
|e
You can decide to copy the commands to your boot disk and adjust the
|c7PATH|c3 to look there if you'd like, though you will have to make sure
there is room on your boot disk to do so. If you are booting from
a copy of the Director disk, you can decide to delete some Director
demo files to make room. Here are some commands you can type to delete
enough demo files to make room on your working Director boot disk (make
sure you have booted from your working Director disk first):|r1
|c7|+81>delete anims all|r1
|+81>delete pictures/telcells|r1
|+81>delete pictures/telscreen|r1|c3
|e
After deleting these files from the "telemetry" demo, you should have room
to copy the new |c7ToolKit|c3 commands to your working Director disk. You
can just copy them into the main directory with the command (again, your
Director working disk must be in drive DF0: ):|r1
|c7|+81>copy toolkit:commands df0:|c3|r1
Or, you can copy them into the |c7C:|c3 directory as described in the next
section.|r1
|e
|c73. The C: directory|c3|r1
|c7AmigaDOS|c3 will always look in the |c7C:|c3 directory for commands if
it is unable to find them elsewhere. This can many times be the most useful
place to put |c7CLI|c3 commands. You will currently find the |c7AmigaDOS|c3
commands |c7CD|c3|-, |c7ASSIGN|c3|-, |c7DIR|c3|-, etc. in your |c7C:|c3
directory.|r1
The |c7C:|c3 directory generally is assigned to the directory named "c"
on your boot disk. On a hard disk however, generally the boot process will
reassign your |c7C:|c3 directory to the hard disk. You can find out where
your current |c7C:|c3 directory is at any given time, by typing:
|+8|c71> assign|c3|r1
Assign will then give you a complete report of all your assignments,
just look for C, and see what disk and directory is currently assigned
to |c7C:|c3|-.
|e
If you have a hard disk, or if you have booted from a Director working
disk and done the deletions specified in the previous sections to
make room, you can copy the |c7ToolKit|c3 |c7CLI|c3 commands to
your |c7C:|c3 directory like this:|r1
|+8|c71> copy toolkit:commands c:|c3|r1
|e
If you are booting from a copy of the WorkBench disk, you will have to
make sure there is enough room to copy the commands to that disk. There
are several files that can be deleted in order to make room. You can try
the commands:|r1
|c7|+81>delete df0:devs/narrator.device|r1
|+81>delete df0:libs/translator.library|c3|r1
which will delete the device and library used for the speech synthesizer.
Unfortunately, this alone may not give you enough room to copy the new
commands to your WorkBench disk.
|e
You can delete all your fonts by typing:|r1
|+8|c71>delete df0:fonts all|c3|r1
This will give you an error in deleting the fonts directory itself as
it is currently in use, though all the fonts contained will be deleted.
This will probably give you enough space to copy the |c7ToolKit|c3 commands
on to your WorkBench working disk with the command (once you have booted
from the WorkBench):|r1
|+8|c71>copy toolkit:commands c:|c3|r1
|e
|c7Conclusion|c3|r1
One of the previous methods must be used to access the new |c7ToolKit|c3
|c7CLI|c3 commands, or you can boot from the ToolKit Disk itself and
use them directly from the |c7CLI|c3 there.|r1
Read the individual |c7README|c3 files in each drawer for specifics on the
individual commands themselves.